package com.fbs.wowo.forum.vo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class CommentsList {
    // 评论id
    private String commentId;
    // 用户名
    private String username;
    // 用户头像
    private String photo;
    // 用户id
    private String userId;
    // 内容
    private String content;
    // 评论时间
    private Date commentTime;
    // 点赞数
    // 回复列表

    public String getCommentId() {
        return commentId;
    }

    public void setCommentId(String commentId) {
        this.commentId = commentId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    public Date getCommentTime() {
        return commentTime;
    }

    public void setCommentTime(Date commentTime) {
        this.commentTime = commentTime;
    }
}
